package com.lx.pc.domain.entity.platformreplacement;

import java.math.BigInteger;

import org.springframework.data.mybatis.annotations.Column;
import org.springframework.data.mybatis.annotations.Entity;

import com.lx.pc.domain.entity.AbstractBaseEntity;

/**
 * 平台代买代卖
 * @author houzhong
 *
 */
@Entity(table = "t_platform_replacement")
public class PlatformreplacementEntity extends AbstractBaseEntity{

	private static final long serialVersionUID = 1L;
	
	/**
	 * 用户id
	 */
	@Column(name = "user_id")
	private BigInteger userId;
	
	/**
	 * 标题
	 */
	@Column(name = "title")
	private String title;
	/**
	 * 数量
	 */
	@Column(name = "num")
	private float num;
	
	/**
	 * 价格
	 */
	@Column(name = "price")
	private float price;
	
	/**
	 * 类别id
	 */
	@Column(name = "category_id")
	private String categoryId;
	
	/**
	 * 类别子id
	 */
	@Column(name = "category_level")
	private String categoryLevel;
	
	/**
	 * 省
	 */
	@Column(name = "province")
	private String province;
	
	/**
	 * 市
	 */
	@Column(name = "city")
	private String city;
	
	/**
	 * 区
	 */
	@Column(name = "area")
	private String area;
	
	/**
	 * 地址
	 */
	@Column(name = "address")
	private String address;
	
	/**
	 * 截至日期
	 * @return
	 */
	@Column(name="deadline")
	private String deadline;
	
	/**
	 * 内容
	 */
	@Column(name = "content")
	private String content;
	
	/**
	 * 类型 1 平台代买 2 平台代卖
	 */
	@Column(name = "type")
	private String type;
	
	/**
	 * 单位
	 */
	@Column(name = "company")
	private String company;
	
	/**
	 * 目标单位 1 电议 2 具体值
	 */
	@Column(name = "target")
	private Integer target;
	
	/**
	 * 运送方式 1 送货上门 2 上门自提
	 */
	@Column(name = "mode")
	private Integer mode;
	
	/**
	 * 账单要求 1 货到付款 2 可接受账期
	 */
	@Column(name = "bill")
	private Integer bill;
	
	/**
	 * 发票要求 1 可提供发票 2 无需求
	 */
	@Column(name = "invoice")
	private Integer invoice;

	public BigInteger getUserId() {
		return userId;
	}

	public void setUserId(BigInteger userId) {
		this.userId = userId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public float getNum() {
		return num;
	}

	public void setNum(float num) {
		this.num = num;
	}

	public float getPrice() {
		return price;
	}

	public void setPrice(float price) {
		this.price = price;
	}

	public String getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(String categoryId) {
		this.categoryId = categoryId;
	}

	public String getCategoryLevel() {
		return categoryLevel;
	}

	public void setCategoryLevel(String categoryLevel) {
		this.categoryLevel = categoryLevel;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getDeadline() {
		return deadline;
	}

	public void setDeadline(String deadline) {
		this.deadline = deadline;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	public Integer getTarget() {
		return target;
	}

	public void setTarget(Integer target) {
		this.target = target;
	}

	public Integer getMode() {
		return mode;
	}

	public void setMode(Integer mode) {
		this.mode = mode;
	}

	public Integer getBill() {
		return bill;
	}

	public void setBill(Integer bill) {
		this.bill = bill;
	}

	public Integer getInvoice() {
		return invoice;
	}

	public void setInvoice(Integer invoice) {
		this.invoice = invoice;
	}
	
	
	
}
